package code.ws_common_utils
{
	/**
	 * 取名类 
	 * @author qiangchen
	 * 
	 */	
	public class NameUtils
	{
		private static const surname:Array = [	"Acheson ", "Agnes ", "Alice", "Anderson", "Anthony", "Austen", "Arthur", "Archibald",
																			"Barnard","Barton","Becher","Beerbohm","Benedict","Bentham","Bertram","Billy",
																			"Carroll","Carl","Carpenter","Caroline","Child","Christie","Church","Coffey",
																			"Davy","Dick","Doherty","Dodd","Doyle","DuBois","Dutt","Dupont",
																			"Eddie ","Edie ","Eisenhower ","Elizabeth ","Emily ","Eva ","Eveline","Edward ",
																			"Flower ","Fox ","Francis ","Fred ","Gabriel ","Gallup ","Garden ","Geoffrey ",
																			"Haggai ","Hardy ","Harrington ","Hicks ","Hodgson ","Hoover ","Houston ","Hume ",
																			"Jacob ","Jenkins","Jeremy ","Johnny ","Jonson ","Julian ","Julius ","Juliet ",
																			"Kellogg ","Kennan ","Keppel ","Kingsley ","Kipling ","Kitty ","Keats ","Kennedy ",
																			"Lamb ","Lee ","Lena ","Leopold ","Lew ","Lloyd ","Longman ","Louise",
																			"MacAdam ","Madge ","Malan ","Maltz ","Marcus ","Marion ","Marshall ","Max ",
																			"Nell ","Nick ","Nora ","Norton ",
																			"Obadiah ","Occam ","Onions ","O'Neil ","Owen ","Oscar ","Orlando ",
																			"Parker ","Philemon ","Peter ","Petty ","Pollitt ","Pound ",
																			"Ralph","Reed","Richards ","Robeson","Robinson ","Roland ","Roosevelt ","Rosa ",
																			"Sailsbury ","Sander ","Sara","Saroyan ","Saxton ","Scripps ","Sherwood ","Simon ",
																			"Tate ","Taylor ","Terry ","Thomas ","Thomson","Titus","Toynbee ","Twain ",
																			"Victor ","Vogt ","Van ","Vaughan ","Veblen ",
																			"Webb ","Wesley","Whit ","Whyet","Wilde ","Willard ","Wilmot","Windsor ",
																			"Yale ","Yeates ","Yerkes ","Young ","Yule ",
																			"Zacharias ","Zangwill ","Zechariah ","Zephaniah ","Zimmerman "
																		];
		
		/**
		 * 获取名字 
		 * @return 
		 * 
		 */		
		public static function get name():String
		{
			return surname[int(Math.random() * surname.length)];
		}
	}
}